package com.example.teamilkmall.mapper;

import com.example.teamilkmall.entity.PictureInfo;
import com.example.teamilkmall.entity.PictureInfo;
import com.example.teamilkmall.entity.TeaInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PictureInfoMapper {
    /**
     * 查询奶茶信息列表
     * @return
     */
    List<PictureInfo> getListPictureInfo();

    List<PictureInfo> listPictureInfo(@Param("pageSize") Integer pageSize, @Param("pageNum") Integer pageNum, @Param("name") String name);

    void updatePictureInfo(PictureInfo pictureInfo);

    void delonePictureInfo(Integer id);

    void addPictureInfo(PictureInfo pictureInfo);
}
